package src;

import lib.rpc.RPCInvokePacket;
import lib.rpc.RPCResultPacket;


/**
 * Interface for handling invoke requests on server side
 * @author abhip
 *
 */
public interface IServerRPCHandler
{
    /**
     * Handles an RPC invoke packet received by the server
     * @param rpcInvokePacket
     * @return RPCResultPacket result of the execution
     */
    RPCResultPacket HandleRPC(RPCInvokePacket rpcInvokePacket);
}
